export class Zero3Enum {

    public static YES = 'YES';
    public static NO = 'NO';

    public static ANDROID = 'ANDROID';
    public static IOS = 'IOS';

    public static AUDIT_FLAG_WAIT_SUBMIT = 'WAIT_SUBMIT';
    public static AUDIT_FLAG_WAIT_AUDIT = 'WAIT_AUDIT';
    public static AUDIT_FLAG_APPROVED = 'APPROVED';
    public static AUDIT_FLAG_REJECT = 'REJECT';

    //商品出库状态
    public static WMS_STOCK_OUT_STATUS_INOUTBOUND = 'INOUTBOUND';
    public static WMS_STOCK_OUT_STATUS_PARTOUTBOUND = 'PARTOUTBOUND';
    public static WMS_STOCK_OUT_STATUS_COMPLETE = 'COMPLETE';

    //商品出库单据类型
    public static WMS_STOCK_OUT_DOCUMENTTYPE_RETURN = 'RETURN';
    public static WMS_STOCK_OUT_DOCUMENTTYPE_INVENTORYLOSS = 'INVENTORYLOSS';
    public static WMS_STOCK_OUT_DOCUMENTTYPE_ACTIVITY = 'ACTIVITY';

    //商品出库仓库
    public static WMS_STOCK_OUT_WAREHOUSE_ALL = 'WAREHOUSE_ALL';
    public static WMS_STOCK_OUT_WAREHOUSE_SALES = 'WAREHOUSE_SALES';
    public static WMS_STOCK_OUT_WAREHOUSE_LEASE = 'WAREHOUSE_LEASE';

    public static ENABLE = 'ENABLE';
    public static DISABLE = 'DISABLE';

    // 商品上架 下架
    public static ITEM_ON = 'ON';
    public static ITEM_OFF = 'OFF';

    // 商品类型 积分商品 现金商品
    public static ITEM_YESSEND = 'YESSEND';
    public static ITEM_NOSEND = 'NOSEND';

    // 活动类型 十人团 百人团 千人团
    public static DRAW_SHIRENTUAN = 'SHIRENTUAN';
    public static DRAW_BAIRENTUAN = 'BAIRENTUAN';
    public static DRAW_QIANRENTUAN = 'QIANRENTUAN';

    // 商品类型 现金商品、积分商品、免费抽奖商品、积分抽奖商品
    public static GOODS_TYPE_CASH = 'CASH';
    public static GOODS_TYPE_INTEGRAL = 'INTEGRAL';
    public static GOODS_TYPE_DRAW_FREE = 'DRAW_FREE';
    public static GOODS_TYPE_DRAW_INTEGRAL = 'DRAW_INTEGRAL';
    public static GOODS_TYPE_ARTICLE = 'ARTICLE';
    public static GOODS_TYPE_LEVEL1 = 'LEVEL1';
    public static GOODS_TYPE_LEVEL2 = 'LEVEL2';

    //
    public static ZONE_POSITION_INDEX = 'INDEX';
    public static ZONE_POSITION_ACTIVITY = 'ACTIVITY';
    public static ZONE_POSITION_ARTICLE = 'ARTICLE';
    public static ZONE_POSITION_MINE = 'MINE';
    public static ZONE_POSITION_SHOPPING_BAG = 'SHOPPING_BAG';

    //
    public static ZONE_APP_VERSION_A1 = 'A1';
    public static ZONE_APP_VERSION_B1 = 'B1';

    //
    public static GOODS_TYPE_LEVEL_1 = 'LEVEL1';
    public static GOODS_TYPE_LEVEL_2 = 'LEVEL2';

    //
    public static CON_VERSION_APP_STORE_UP_WAIT_AUDIT = 'WAIT_AUDIT';
    public static CON_VERSION_APP_STORE_UP_AUDIT_ING = 'AUDIT_ING';
    public static CON_VERSION_APP_STORE_UP_ALREADY_UP = 'ALREADY_UP';

    //
    public static CON_VERSION_ANDROID_CHANNEL_TYPE_YINGYONGBAO = 'YINGYONGBAO';
    public static CON_VERSION_ANDROID_CHANNEL_TYPE_BAIDU = 'BAIDU';
    public static CON_VERSION_ANDROID_CHANNEL_TYPE_QH360 = 'QH360';
    public static CON_VERSION_ANDROID_CHANNEL_TYPE_XIAOMI = 'XIAOMI';
    public static CON_VERSION_ANDROID_CHANNEL_TYPE_HUAWEI = 'HUAWEI';
    public static CON_VERSION_ANDROID_CHANNEL_TYPE_OPPO = 'OPPO';
    public static CON_VERSION_ANDROID_CHANNEL_TYPE_VIVO = 'VIVO';
    public static CON_VERSION_ANDROID_CHANNEL_TYPE_LIANXIANG = 'LIANXIANG';
    public static CON_VERSION_ANDROID_CHANNEL_TYPE_WANDOUJIA = 'WANDOUJIA';
    public static CON_VERSION_ANDROID_CHANNEL_TYPE_MEIZU = 'MEIZU';

    // 分享枚举类型
    public static CON_SHARE_MANAGE_TYPE_GOODS = 0;
    public static CON_SHARE_MANAGE_TYPE_ACTIVITY = 1;
    public static CON_SHARE_MANAGE_TYPE_ARTICLE = 2;

    // 货位层数
    public static LAYER_NUM = 20;

    public static GOODS_TYPE = new Map([
        [Zero3Enum.GOODS_TYPE_CASH, '现金商品'],
        [Zero3Enum.GOODS_TYPE_INTEGRAL, '积分商品'],
        [Zero3Enum.GOODS_TYPE_DRAW_FREE, '免费抽奖商品'],
        [Zero3Enum.GOODS_TYPE_DRAW_INTEGRAL, '积分抽奖商品'],
    ]);

    // 专区/子专区/专区多图 - 关联类型
    public static CON_ZONE_MANAGE_RELEVANCE_TYPE = new Map([
        [Zero3Enum.GOODS_TYPE_CASH, '现金商品'],
        [Zero3Enum.GOODS_TYPE_INTEGRAL, '积分商品'],
        [Zero3Enum.GOODS_TYPE_DRAW_FREE, '免费抽奖商品'],
        [Zero3Enum.GOODS_TYPE_DRAW_INTEGRAL, '积分抽奖商品'],
        [Zero3Enum.GOODS_TYPE_ARTICLE, '文章'],
        [Zero3Enum.GOODS_TYPE_LEVEL1, '商品一级分类'],
        [Zero3Enum.GOODS_TYPE_LEVEL2, '商品二级分类'],
    ]);

    // APP 上架状态
    public static CON_VERSION_APP_STORE_UP = new Map([
        [Zero3Enum.CON_VERSION_APP_STORE_UP_WAIT_AUDIT, '待审核'],
        [Zero3Enum.CON_VERSION_APP_STORE_UP_AUDIT_ING, '审核中'],
        [Zero3Enum.CON_VERSION_APP_STORE_UP_ALREADY_UP, '已上架'],
    ]);

    // android 渠道类型
    public static CON_VERSION_ANDROID_CHANNEL_TYPE = new Map([
        [Zero3Enum.CON_VERSION_ANDROID_CHANNEL_TYPE_YINGYONGBAO, '应用宝'],
        [Zero3Enum.CON_VERSION_ANDROID_CHANNEL_TYPE_BAIDU, '百度'],
        [Zero3Enum.CON_VERSION_ANDROID_CHANNEL_TYPE_QH360, '奇虎360'],
        [Zero3Enum.CON_VERSION_ANDROID_CHANNEL_TYPE_XIAOMI, '小米'],
        [Zero3Enum.CON_VERSION_ANDROID_CHANNEL_TYPE_HUAWEI, '华为'],
        [Zero3Enum.CON_VERSION_ANDROID_CHANNEL_TYPE_OPPO, 'OPPO'],
        [Zero3Enum.CON_VERSION_ANDROID_CHANNEL_TYPE_VIVO, 'VIVO'],
        [Zero3Enum.CON_VERSION_ANDROID_CHANNEL_TYPE_LIANXIANG, '联想'],
        [Zero3Enum.CON_VERSION_ANDROID_CHANNEL_TYPE_WANDOUJIA, '豌豆荚'],
        [Zero3Enum.CON_VERSION_ANDROID_CHANNEL_TYPE_MEIZU, '魅族'],
    ]);

    // 专区位置 INDEX("首页"), ACTIVITY("活动"), ARTICLE("文章"),
    public static CON_ZONE_TYPE_POSITION = new Map([
        [Zero3Enum.ZONE_POSITION_INDEX, '首页'],
        [Zero3Enum.ZONE_POSITION_ACTIVITY, '活动'],
        [Zero3Enum.ZONE_POSITION_ARTICLE, '文章'],
        [Zero3Enum.ZONE_POSITION_MINE, '我的'],
        [Zero3Enum.ZONE_POSITION_SHOPPING_BAG, '购物袋'],
    ]);

    public static GOODS_TYPE_LEVEL_POSITION = new Map([
        [Zero3Enum.GOODS_TYPE_LEVEL_1, '一级分类'],
        [Zero3Enum.GOODS_TYPE_LEVEL_2, '二级分类'],
    ]);

    // 专区位置 INDEX("首页"), ACTIVITY("活动"), ARTICLE("文章"),
    public static CON_ZONE_TYPE_APP_VERSION = new Map([
        [Zero3Enum.ZONE_APP_VERSION_B1, 'B1'],
        [Zero3Enum.ZONE_APP_VERSION_A1, 'A1'],
    ]);


    public static VALID_FLAG = new Map([
        ['VALID', '有效'],
        ['DEL', '删除'],
    ]);

    // 废弃
    // public static SER_ORDER_STATUS = new Map([
    //     ['DAIFUKUAN', '待付款'],
    //     ['DAIFAHUO', '待发货'],
    //     ['DAISHOUHUO', '待发货'],
    //     ['DAISHOUHUO', '待收货'],
    //     ['YIWANCHANG', '已完成'],
    //     ['JIYIGUANBI', '交易关闭'],
    // ]);

    public static ORDER_STATUS_FLAG = new Map([
        [1, '待付款'],
        [2, '待发货'],
        [3, '待收货'],
        [4, '已完成'],
        [6, '已收货'],
        [7, '交易关闭'],
    ]);

    //为售后提供
    public static AFTER_SALE_ORDER_STATUS_FLAG = new Map([
        ['1', '待付款'],
        ['2', '待发货'],
        ['3', '待收货'],
        ['4', '已完成'],
        ['6', '已收货'],
        ['7', '交易关闭'],
    ]);

    public static SER_AUDIT = new Map([
        ['YIDU', '未点赞'],
        ['WEIDU', '点赞'],
        /* YIDU("未点赞"), // 原系统 key: 1
         WEIDU("点赞"), // 原系统 key: 2*/
    ]);

    // 库区类型
    public static WMS_HOUSE_AREA_TYPE_FLAG = new Map([
        ['ZHENG_PING', '正品仓'],
        ['CI_PIN', '次品仓'],
    ]);

    // 仓库类型
    public static WMS_HOUSE_TYPE_CANG_KU = 'CANG_KU';
    public static WMS_HOUSE_TYPE_KU_QU = 'KU_QU';
    public static WMS_HOUSE_TYPE_FLAG = new Map([
        [Zero3Enum.WMS_HOUSE_TYPE_CANG_KU, '仓库'],
        [Zero3Enum.WMS_HOUSE_TYPE_KU_QU, '库区'],
    ]);

    // 库存明细类型
    public static WMS_STOCK_TYPE_FLAG = new Map([
        ['STOCK_PUT', '入库'],
        ['STOCK_TRANSFER', '调拨'],
        ['STOCK_OUT', '出库'],
    ]);

    // 入库类型
    public static WMS_STOCK_PUT_TYPE_FLAG = new Map([
        ['PURCHASE_PUT', '采购入库'],
        ['REFUND_PUT', '退货入库'],
        ['INVENTORY_PUT', '盘盈入库'],
        ['TRANSFER_PUT', '调拨入库'],
    ]);

    // 入库状态
    public static WMS_STOCK_PUT_STATUS_FLAG = new Map([
        ['WAIT_PUT', '待入库'],
        ['PART_PUT', '部分入库'],
        ['ALREADY_PUT', '已入库'],
        ['TRANSFER_ING', '调拨中'],
        ['ALREADY_TRANSFER', '已调拨'],
        ['PUT_REJECT', '已驳回'],
    ]);
    // 调拨单状态
    public static WMS_STOCK_TRANSFER_STATUS_FLAG = new Map([
        ['WAIT_PUT', '待入库'],
        ['PART_PUT', '部分入库'],
        ['ALREADY_PUT', '已入库'],
        ['TRANSFER_ING', '待调拨'],
        ['ALREADY_TRANSFER', '已调拨'],
        ['PUT_REJECT', '已驳回'],
    ]);

    // 地区类型
    public static WMS_HOUSE_AREA_FLAG = new Map([
        ['BEI_JING', '北京'],
    ]);

    public static AUDIT_FLAG = new Map([
        [Zero3Enum.AUDIT_FLAG_WAIT_SUBMIT, '待提交'],
        [Zero3Enum.AUDIT_FLAG_WAIT_AUDIT, '待审核'],
        [Zero3Enum.AUDIT_FLAG_APPROVED, '已审核'],
        [Zero3Enum.AUDIT_FLAG_REJECT, '被驳回'],
    ]);


    public static JIFEN_STATE = new Map([
        ['SHOURU', '收入'],
        ['ZHICHU', '支出'],
    ]);

    public static JIFEN_TYPE = new Map([
        ['QIANDAOZENGSONG', '签到赠送'],
        ['GOUMAISAHNGPINZENGSONG', '购买商品赠送'],
        ['GOUMAIJIFEN', '购买积分'],
        ['GOUMAISAHNGPIN', '购买商品'],
        ['TUIKUAN', '退款'],
    ]);


    public static WMS_STOCK_OUT_STATUS = new Map([
        [Zero3Enum.WMS_STOCK_OUT_STATUS_INOUTBOUND, '出库中'],
        [Zero3Enum.WMS_STOCK_OUT_STATUS_PARTOUTBOUND, '部分出库'],
        [Zero3Enum.WMS_STOCK_OUT_STATUS_COMPLETE, '已完成']
    ]);

    public static WMS_STOCK_OUT_DOCUMENTTYPE = new Map([
        [Zero3Enum.WMS_STOCK_OUT_DOCUMENTTYPE_RETURN, '采购退货出库'],
        [Zero3Enum.WMS_STOCK_OUT_DOCUMENTTYPE_INVENTORYLOSS, '盘亏出库单'],
        [Zero3Enum.WMS_STOCK_OUT_DOCUMENTTYPE_ACTIVITY, '活动出库']
    ]);

    public static WMS_STOCK_OUT_WAREHOUSE = new Map([
        [Zero3Enum.WMS_STOCK_OUT_WAREHOUSE_ALL, '全部仓库'],
        [Zero3Enum.WMS_STOCK_OUT_WAREHOUSE_SALES, '销售仓'],
        [Zero3Enum.WMS_STOCK_OUT_WAREHOUSE_LEASE, '租赁仓']
    ]);

    public static VERSION_UPGRADE = new Map([
        [Zero3Enum.YES, '是'],
        [Zero3Enum.NO, '否'],
    ]);

    public static OPERATING_SYSTEM = new Map([
        [Zero3Enum.ANDROID, '安卓'],
        [Zero3Enum.IOS, 'iOS'],
    ]);

    public static BUSINESS_TYPE = new Map([
        ['XIAOSHOU', '销售'],
        ['HUODONG', '活动'],
        ['ZHULIN', '租赁'],
        ['JIFEN', '积分'],
        ['CHOUJIANG', '抽奖'],
        ['CHANPIN', '残品'],
    ]);

    public static ORDER_TYPE_FLAG = new Map([
        ['1', '积分'],
        ['2', '现金'],
        ['3', '免费抽奖'],
        ['4', '积分抽奖'],
        ['5', '租赁']
    ]);

    public static PAY_TYPE_FLAG = new Map([
        ['ALYAPY', '支付宝'],
        ['WEIXIN', '微信'],
        ['YINLIAN', '银联'],
        ['JIFEN', '积分'],
    ]);

    /**
     * ONLYMONEY("仅退款"),
     GOODSANDMONEY("退货退款");
     */
    public static AFTER_APPLY_TYPE_FLAG = new Map([
        ['ONLYMONEY', '仅退款'],
        ['GOODSANDMONEY', '退货退款'],
    ]);

    /**
     * WAIT_AUDIT("1","待审核"),
     AUDIT_SUCCESS_ALREFUND("2","审核成功（已退款）"),
     AUDIT_FALURE("3","审核失败"),
     AUDIT_SUCCESS_WAITDELEVER("4","审核通过，待买家发货"),
     WAIT_CONFIRM_GOODS("5","待确认收货"),
     CONFIRM_GOODS_REFUND("6","确认收货，已退款"),
     CANCEL_APPLY("7","取消申请")
     ;
     */
    public static AFTER_APPLY_STATUS_FLAG = new Map([
        ['1', '待审核'],
        ['2', '审核成功（已退款）'],
        ['3', '审核失败'],
        ['4', '审核通过，待买家发货'],
        ['5', '待确认收货'],
        ['6', '确认收货，已退款'],
        ['7', '取消申请'],
    ]);

    public static USING_FLAG = new Map([
        [Zero3Enum.ENABLE, '启用'],
        [Zero3Enum.DISABLE, '禁用'],
    ]);

    public static ITEM_STATUS_FLAG = new Map([
        [Zero3Enum.ITEM_ON, '已上架'],
        [Zero3Enum.ITEM_OFF, '未上架'],
    ]);

    public static ITEM_TYPE_FLAG = new Map([
        [Zero3Enum.ITEM_YESSEND, '积分商品'],
        [Zero3Enum.ITEM_NOSEND, '现金商品'],
    ]);

    public static DRAW_FLAG = new Map([
        [Zero3Enum.DRAW_SHIRENTUAN, '十人团'],
        [Zero3Enum.DRAW_BAIRENTUAN, '百人团'],
        [Zero3Enum.DRAW_QIANRENTUAN, '千人团'],
    ]);

    public static SCHEDULE_TIME_TYPE_DAY = 'DAY';
    public static SCHEDULE_TIME_TYPE_WEEK = 'WEEK';
    public static SCHEDULE_TIME_TYPE_MONTH = 'MONTH';

    public static SCHEDULE_TIME_TYPE = new Map([
        [Zero3Enum.SCHEDULE_TIME_TYPE_DAY, '每天'],
        [Zero3Enum.SCHEDULE_TIME_TYPE_WEEK, '每周'],
        [Zero3Enum.SCHEDULE_TIME_TYPE_MONTH, '每月'],
    ]);

    public static WEEK_TYPE_MONTHDAY = '1';
    public static WEEK_TYPE_TUESDAY = '2';
    public static WEEK_TYPE_WEDNESDAY = '3';
    public static WEEK_TYPE_THURSDAY = '4';
    public static WEEK_TYPE_FRIDAY = '5';
    public static WEEK_TYPE_SATURDAY = '6';
    public static WEEK_TYPE_SUNDAY = '7';

    public static WEEK_TYPE = new Map([
        [Zero3Enum.WEEK_TYPE_MONTHDAY, '周一'],
        [Zero3Enum.WEEK_TYPE_TUESDAY, '周二'],
        [Zero3Enum.WEEK_TYPE_WEDNESDAY, '周三'],
        [Zero3Enum.WEEK_TYPE_THURSDAY, '周四'],
        [Zero3Enum.WEEK_TYPE_FRIDAY, '周五'],
        [Zero3Enum.WEEK_TYPE_SATURDAY, '周六'],
        [Zero3Enum.WEEK_TYPE_SUNDAY, '周日'],
    ]);

    public static NUMBER_2_HANZI_TYPE = new Map([
        ['1', '一'],
        ['2', '二'],
        ['3', '三'],
        ['4', '四'],
        ['5', '五'],
        ['6', '六'],
        ['7', '七'],
        ['8', '八'],
        ['9', '九'],
        ['10', '十'],
        ['11', '十一'],
        ['12', '十二'],
        ['13', '十三'],
        ['14', '十四'],
        ['15', '十五'],
        ['16', '十六'],
        ['17', '十七'],
        ['18', '十八'],
        ['19', '十九'],
        ['20', '二十'],
    ]);

    public static monthDays = ['1号', '2号', '3号', '4号', '5号', '6号', '7号', '8号', '9号', '10号', '11号', '12号', '13号', '14号', '15号', '16号', '17号', '18号', '19号', '20号', '21号', '22号', '23号', '24号', '25号', '26号', '27号', '28号', '29号', '30号', '31号'];



    public static SHARE_FLAG = new Map([
        [Zero3Enum.CON_SHARE_MANAGE_TYPE_GOODS, '商品分享'],
        [Zero3Enum.CON_SHARE_MANAGE_TYPE_ACTIVITY, '活动分享'],
        [Zero3Enum.CON_SHARE_MANAGE_TYPE_ARTICLE, '文章分享']
    ]);

}
